 |
|
|
|
|
Dealing with User Expectations |
|
|
|
| |
 |
|
|
|
|
The List Box |
|
|
|
| |
 |
|
|
|
|
Effective Menus |
|
|
|
| |
 |
|
|
|
|
Handling Multiple Instances of Your Application |
|
|
|
| |
 |
|
|
|
|
Perceived Speed |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |
|
|
|
|
|
19
Using Visual Design Elements |
|
|
|
| |
 |
|
|
|
|
Using Graphics |
|
|
|
| |
 |
|
|
|
|
Graphics Controls |
|
|
|
| |
 |
|
|
|
|
Graphics Methods |
|
|
|
| |
 |
|
|
|
|
Working with Text and Fonts |
|
|
|
| |
 |
|
|
|
|
Text Box Behavior |
|
|
|
| |
 |
|
|
|
|
Working with Fonts and Colors |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |
|
|
|
|
|
V
Advanced Programming Topics |
|
|
|
| |
|
|
|
|
|
20
Accessing the Windows API |
|
|
|
| |
 |
|
|
|
|
Understanding the Windows API |
|
|
|
| |
 |
|
|
|
|
Using the Windows API in Visual Basic |
|
|
|
| |
 |
|
|
|
|
Using the API Viewer |
|
|
|
| |
 |
|
|
|
|
Creating a Wrapper Function |
|
|
|
| |
 |
|
|
|
|
Creating a Wrapper Class |
|
|
|
| |
 |
|
|
|
|
Useful API Calls |
|
|
|
| |
 |
|
|
|
|
Fun API Calls |
|
|
|
| |
 |
|
|
|
|
Finding and Controlling Other Windows |
|
|
|
| |
 |
|
|
|
|
Waiting on a Program to Finish Running |
|
|
|
| |
 |
|
|
|
|
Callbacks and Subclassing |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |
| |
 |
|
|
|
|
File Functions in Visual Basic |
|
|
|
| |
 |
|
|
|
|
Using Dir to Find and List Files |
|
|
|
| |
 |
|
|
|
|
File-Manipulation Functions |
|
|
|
| |
 |
|
|
|
|
Launching Other Programs with the Shell Function |
|
|
|
| |
 |
|
|
|
|
Locating Files Relative to Your Application |
|
|
|
| |
 |
|
|
|
|
Working with Text Files |
|
|
|
| |
 |
|
|
|
|
Sequential Text Files |
|
|
|
| |
 |
|
|
|
|
Reading from a Sequential Text File |
|
|
|
| |
 |
|
|
|
|
Writing to a Sequential Text File |
|
|
|
| |
 |
|
|
|
|
Random FilesCreating Your Own File Format |
|
|
|
| |
 |
|
|
|
|
Creating a Record Type |
|
|
|
| |
 |
|
|
|
|
Opening a Random Access File |
|
|
|
| |
 |
|
|
|
|
Adding Records with Put |
|
|
|
| |
 |
|
|
|
|
Retrieving Records with Get |
|
|
|
| |
 |
|
|
|
|
Random Access with Seek |
|
|
|
| |
 |
|
|
|
|
INI Files |
|
|
|
| |
 |
|
|
|
|
Understanding INI Files |
|
|
|
| |
 |
|
|
|
|
Using INI Files in Visual Basic |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |
|
|
|
|
|
22
Using OLE to Control Other Applications |
|
|
|
| |
 |
|
|
|
|
Working with Word Objects |
|
|
|
| |
 |
|
|
|
|
The Microsoft Word Object Library |
|
|
|
| |
 |
|
|
|
|
Creating Application and Document Objects |
|
|
|
| |
 |
|
|
|
|
Saving, Opening, and Printing Documents |
|
|
|
| |
 |
|
|
|
|
Working with Text |
|
|
|
| |
 |
|
|
|
|
Other Useful Features |
|
|
|
| |
 |
|
|
|
|
Word.Basic |
|
|
|
| |
 |
|
|
|
|
Working with Excel |
|
|
|
| |
 |
|
|
|
|
Creating Excel Objects |
|
|
|
| |
 |
|
|
|
|
Setting Cell and Range Values |
|
|
|
| |
 |
|
|
|
|
Using the OLE Container Control |
|
|
|
| |
 |
|
|
|
|
Creating an Embedded Object at Designtime |
|
|
|
| |
 |
|
|
|
|
Creating an Embedded Object at Runtime |
|
|
|
| |
 |
|
|
|
|
Creating a Linked Object |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |